package src.lab02.test01.test37;


    public class Undergraduate  extends Student{
        //于本科生，如果3门课程的平均分数超过60分即表示通过，
        public Undergraduate(float score1, float score2, float score3) {
            super(score1, score2, score3);
        }

        public boolean pass()
        {
            if(getAvg()>60) {
                return true;
            }
            return false;
        }

    }

